import request from "axios";

export function list(params) {
    return request({
        url: "/sys/log/operlog/list",
        method: "get",
        params: params
    })
}

export function deleteOperLog(params) {
    return request({
        url: "/sys/log/operlog/deleteOperLog",
        method: "delete",
        params: params
    })
}

export function clear() {
    return request({
        url: "/sys/log/operlog/clear",
        method: "delete"
    })
}

export function clearCache(){
    return request({
        url:"/sys/log/operlog/clearCache",
        method:"delete"
    })
}